Package com.cisco.pt.ipc.sim.impl
Class HardwareQueueImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.HardwareQueueImpl
- All Implemented Interfaces:
IPCObject,HardwareQueue
- Direct Known Subclasses:
CsmaCdProcessImpl,HdlcImpl
Information provided by the PKI file:
\class HardwareQueue
\brief HardwareQueue handles and manipulates switch ports.
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionHardwareQueueImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:getUserTrafficAt(int index) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
HardwareQueueImpl
public HardwareQueueImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getPacketCnt
public int getPacketCnt()Information provided by the PKI file:
\brief Returns the number of packets. \return int, the number of packets.- Specified by:
getPacketCntin interfaceHardwareQueue- Returns:
- int Returns a int
-
getUserTrafficAt
Information provided by the PKI file:
\brief Returns the UserTraffic object. \param int, index of UserTraffic in the queue. \return UserTraffic, the UserTraffic object.- Specified by:
getUserTrafficAtin interfaceHardwareQueue- Parameters:
index- Takes in a parameter of index- Returns:
- UserTraffic Returns a UserTraffic
-